<template>
  <div class="s-box" style="height:100%;">
    <view-box ref="viewBox" body-padding-top="0" body-padding-bottom="55px">
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive"></router-view>
    </view-box>
    <tabbar></tabbar>
  </div>
</template>

<script>
  import {ViewBox} from 'vux'
  import Tabbar from "@/components/Tabbar"

  export default {
    components: {
      ViewBox,
      Tabbar
    },
    data() {
      return {}
    },
    created(){

    }
  }
</script>

<style lang="less" scoped>

</style>
